<div class="form">
<?php	 	  /** @var BootActiveForm $form */
$form = $this->beginWidget('bootstrap.widgets.BootActiveForm', array(
    'id'=>'horizontalForm',
    'type'=>'horizontal',
	'htmlOptions'=>array('enctype' => 'multipart/form-data'),
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php	 	  echo $form->DropDownListRow($model,'provinsi',CHtml::listData(Provinsi::model()->findAll(), 'id', 'nama_provinsi' ),
		array('prompt'=>'Pilih Provinsi',
		'id'=>'provinsi_id',
		'value'=>'0',
		'ajax' => array(
				'type'=>'POST',
				'url'=>Yii::app()->createUrl('/eAudit/dokumentasiPelaksanaanKegiatan/getSatker'),
				'update'=>'#'.CHtml::activeId($model,'satker'),
				'data'=>array('id'=>'js:this.value'),
		)
		)); ?>
		<?php	 	  echo $form->error($model,'type_news'); ?>
	</div>
	
	<div class="row">
		<?php	 	  echo $form->DropDownListRow($model,'satker',CHtml::listData(Satker::model()->findAll('id='.-1), 'id', 'nama_satker' ),array('prompt'=>'Pilih Satker')); ?>
		<?php	 	  echo $form->error($model,'satker'); ?>
	</div>

	

	<div class="row buttons">
		<?php	 	  echo CHtml::submitButton('Search'); ?>
	</div>

<?php	 	  $this->endWidget(); ?>

</div>